package monster.com.cvh.util;

/**
 * Created by ASUS on 2017/12/27.
 *
 * 由于在香港服务区器没有备案
 * 所以用htttps会被电信运营商拦截（wifif可正常使用）
 * 固切换回http
 */

public class MyConstant {
    public static final String APP = "CVLink";
    public static final String IS_FIRST_IN = "IS_FIRST_IN";
    public static final int GO_GUIDE = 1;
    public static final int GO_Login = 2;
    //正式服URL
     public static final String BASE_URL = "http://api.cvh.io/";
    //测试服URL
//    public static final String BASE_URL = "https://tapi.cvh.io/";
    public static final String SMS_CODE_URL = BASE_URL + "sms_code";
    public static final String PHONE_REGISTER = BASE_URL + "phone_register";
    public static final String PHONE_LOGIN = BASE_URL + "phone_login";
    public static final String WECHAT_LOGIN = BASE_URL + "wc_login";
    public static final String QQ_LOGIN = BASE_URL + "qq_login";
    public static final String PWDRESET = BASE_URL + "pwd_reset";
    public static final String GETSLIDESHOW = BASE_URL + "get_slide_show";
    public static final String NEWSLIST = BASE_URL + "get_info_list";
    public static final String NEWSDETAIL = BASE_URL + "articles/";
    public static final String GETCOMMENTS = BASE_URL + "get_comments";
    public static final String COLLECTARTICLE = BASE_URL + "collect_article";
    public static final String CANCELCOLLECTARTICLE = BASE_URL + "cancel_collect_article";
    public static final String DELETE_COMMENT = BASE_URL + "delete_comment";
    public static final String CREATE_COMMENT = BASE_URL + "create_comment";

    public static final String LOAD_RESUME_DATA = BASE_URL + "load_resume";//加载简历数据
    public static final String ALERT_RESUNE_AVATER = BASE_URL + "alter_resume_icon";//修改简历头像
    public static final String GET_RESUME_BASIC = BASE_URL + "get_resume_basic";//获取基本信息
    public static final String MODIFY_RESUME_BASIC = BASE_URL + "modify_resume_basic";//修改基本信息
    public static final String GET_RESUME_PREFER_JOB = BASE_URL + "get_resume_prefer_job";//获取求职意向
    public static final String MODIFY_RESUME_PREFER_JOB = BASE_URL + "modify_resume_prefer_job";//修改求职意向
    public static final String GET_RESUME_SELF_INTRO = BASE_URL + "get_resume_self_intro";//获取自我介绍
    public static final String MODIFY_RESUME_SELF_INTRO = BASE_URL + "modify_resume_self_intro";//修改自我介绍
    public static final String GET_RESUME_TEMPLATE_LIST = BASE_URL + "get_resume_template_list";//获取模板列表
    public static final String GET_RESUME_EDUCATION_EXP = BASE_URL + "get_resume_education_exp";//获取教育经历
    public static final String MODIFY_RESUME_EDUCATION_EXP = BASE_URL + "modify_resume_education_exp";//修改教育经历
    public static final String GET_RESUME_HONOR_EXP = BASE_URL + "get_resume_honor_exp";//获取荣誉证书
    public static final String MODIFY_RESUME_HONOR_EXP = BASE_URL + "modify_resume_honor_exp";//修改荣誉证书
    public static final String GET_RESUME_SCHOOL_EXP = BASE_URL + "get_resume_school_exp";//获取在校经历
    public static final String MODIFY_RESUME_SCHOOL_EXP = BASE_URL + "modify_resume_school_exp";//修改在校经历
    public static final String GET_RESUME_WORK_EXP = BASE_URL + "get_resume_work_exp";//获取工作经历
    public static final String MODIFY_RESUME_WORK_EXP = BASE_URL + "modify_resume_work_exp";//修改工作经历
    public static final String GET_RESUME_SKILL_EXP = BASE_URL + "get_resume_skill_exp";//获取职业技能
    public static final String MODIFY_RESUME_SKILL_EXP = BASE_URL + "modify_resume_skill_exp";//修改职业技能
    public static final String GET_RESUME_QUALIFICATION_EXP = BASE_URL + "get_resume_qualification_exp";//获取资格证书
    public static final String MODIFY_RESUME_QUALIFICATION_EXP = BASE_URL + "modify_resume_qualification_exp";//修改资格证书
    public static final String GET_RESUME_PROJECT_EXP = BASE_URL + "get_resume_project_exp";//获取项目经历
    public static final String MODIFY_RESUME_PROJECT_EXP = BASE_URL + "modify_resume_project_exp";//修改项目经历
    public static final String RESUME_TEMPLATES_URL = BASE_URL + "templates/";//获取简历预览网址
    public static final String GET_DEFAULT_TEMPLATES = BASE_URL + "get_default_templates";//获取简历预览缩略图
    public static final String UNLOCK_RESUME_TEMPLATE = BASE_URL + "unlock_resume_template";//解锁模板
    public static final String SEND_RESUME_EMAIL = BASE_URL + "send_resume_email";//发送邮件
    public static final String GET_RESUME_PDF = BASE_URL + "get_resume_pdf";//下载简历
    public static final String UPDATE_FOR_ANDROID = BASE_URL + "update_for_android";//下载简历
    public static final String UPDATE_ADDR = "http://tapi.cvh.io/download";//下载apl引导页面
    public static final String RESUME_TEMPLE =BASE_URL + "unlock_view";//解锁模板网页


    public static final String TOKEN = "token";//用户token
    public static final String ICON = "icon";//简历头像key
    public static final String PAGE_INDEX = "page_index";//页数
    public static final String ITEMS = "items";//json对象数组
    public static final String TEMPLATE_ID = "template_id";//简历模板ID
    public static final String FILE_NAME = "file_name";//简历模板ID

    //简历tab 个人信息
    public static final String BIRTHDAY = "birthday";
    public static final String EMAIL = "email";
    public static final String GENDER = "gender";
    public static final String MARRIAGE = "marriage";
    public static final String NAME = "name";
    public static final String NATIVE_PLACE = "native_place";
    public static final String PARTY = "party";
    public static final String PHONE = "phone";
    public static final String QQ = "qq";
    public static final String RACE = "race";
    public static final String WECHAT = "wechat";

    //简历tab 求职意向
    public static final String INDUSTRY = "industry";
    public static final String POSITION = "position";
    public static final String SALARY = "salary";
    public static final String WORK_CITY = "work_city";
    public static final String WORK_TYPE = "work_type";

    //简历tab 自我评价
    public static final String SELF_INTRO = "self_intro";

    //简历商城
    public static final String RESUME_TYPE_FREE = "free";
    public static final String RESUME_TYPE_NEW = "new";
    public static final String RESUME_TYPE_ADVANCED = "advanced";
    public static final String RESUME_TYPE = "type";

    public static final String MAKE_PRAISE = BASE_URL + "make_praise";
    public static final String GET_NOTIFY = BASE_URL + "get_notify" ;
    public static final String MODIFY_NOTIFY = BASE_URL +"modify_notify" ;
    public static final String GET_USER_INFO = BASE_URL + "get_user_info" ;
    public static final String MODIFY_USER_INFO = BASE_URL + "modify_user_info";
    public static final String LOGIN_OUT = BASE_URL +"login_out" ;
    public static final String MODIFY_PUSH_ID = BASE_URL + "modify_push_id" ;
    public static final String GET_BROWSE_HISTRY = BASE_URL +"get_browse_history" ;
    public static final String DELETE_BROWSE_HISTRY = BASE_URL + "delete_browse_history" ;
    public static final String GET_COLLECTION = BASE_URL + "get_collections" ;
    public static final String DELETE_COLLECTION = BASE_URL +"delete_collections";
    public static final String GET_ALL_COMMENT = BASE_URL + "get_all_comment" ;
    public static final String GET_RECEIVE_COMENT = BASE_URL +"get_receiver_comment" ;
    public static final String GET_SEND_COMMENT = BASE_URL + "get_send_comment" ;
    public static final String GET_PRIASE_LIST = BASE_URL +"get_priase_list" ;
    public static final String BIND_MOBILE = BASE_URL + "bind_mobile" ;
    public static final String FEED_BACK = BASE_URL + "feedback" ;
    public static final String GET_COMMENT_INFO = BASE_URL +"get_comment_info" ;
    public static final String GET_BIND_pHONE_STATE = BASE_URL +"get_bind_phone_state" ;
    public static final String GET_NOTIFICATION_LIST = BASE_URL + "get_notification_list";
}
